package me.zhengjie.modules.transformer.domain.vo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.apache.poi.ss.formula.functions.T;

/**
 * MessageResponse
 *
 * @author weiruitao
 * @date 2021/12/1
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MessageResponse<T> {
    Integer status;
    Integer size;
    T data;
    String message;

    public MessageResponse(Integer size, T data) {
        this.size = size;
        this.data = data;
    }
}
